package com.frame.auth.mvc.dao.mapper;

import com.frame.auth.mvc.dao.pojo.CloudSysRole;
import com.frame.auth.mvc.dao.pojo.CloudSysRoleExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CloudSysRoleMapper {
    long countByExample(CloudSysRoleExample example);

    int deleteByExample(CloudSysRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CloudSysRole record);

    int insertSelective(CloudSysRole record);

    List<CloudSysRole> selectByExample(CloudSysRoleExample example);

    CloudSysRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CloudSysRole record, @Param("example") CloudSysRoleExample example);

    int updateByExample(@Param("record") CloudSysRole record, @Param("example") CloudSysRoleExample example);

    int updateByPrimaryKeySelective(CloudSysRole record);

    int updateByPrimaryKey(CloudSysRole record);
}